package org.minbox.framework.command.execute.output;

import java.io.InputStream;

/**
 * Success result output of command execution
 *
 * @author 恒宇少年
 */
public class ResultOutput extends AbstractOutput {
    /**
     * output success result content
     * {@link AbstractOutput#getContent(InputStream)}
     *
     * @param inputStream {@link Process#getInputStream()}
     * @return Success result content
     */
    @Override
    public String output(InputStream inputStream) {
        return getContent(inputStream);
    }
}
